local BattleMsgHandler = {}
Battle.BattleMsgHandler = BattleMsgHandler
function BattleMsgHandler.Send_UseCard(id,x,y)
    Battle.VirtualServer.Receive_UseCard(id,x,y)
end
function BattleMsgHandler.Send_DestroyPlayer(playerId)
    Battle.VirtualServer.Receive_DestroyPlayer(playerId)
end
function BattleMsgHandler.Receive_CreatePlayer(msg)
    Battle.EntityFactory.CreateHero(msg.modelId,msg.camp,msg.x,0,msg.y,msg.dirX,msg.dirY,msg.dirZ)
end
